export interface IToolCall {
  toolCallId: string;
  toolName: string;
  parameters: Record<string, any>;
  status: 'pending' | 'executing' | 'completed' | 'failed' | 'cancelled';
  startTime: Date;
  endTime?: Date;
  executionTime?: number; // 毫秒
  result?: {
    success: boolean;
    data?: any;
    error?: {
      code: string;
      message: string;
      details?: any;
    };
    metadata?: Record<string, any>;
  };
  retryCount: number;
  maxRetries: number;
}
